Skip to content

refactor: rename env vars to PYAUTO_* prefix#343

Merged
Jammy2211 merged 1 commit intomainfrom
feature/test-mode-separate
Apr 12, 2026
Merged

refactor: rename env vars to PYAUTO_* prefix#343
Jammy2211 merged 1 commit intomainfrom
feature/test-mode-separate

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Rename PYAUTO_WORKSPACE_SMALL_DATASETSPYAUTO_SMALL_DATASETS and switch quantity visualizer from is_test_mode() to skip_visualization().

Depends on: PyAutoLabs/PyAutoConf#86, PyAutoLabs/PyAutoArray#265

API Changes

One env var rename. Quantity visualizer now controlled by PYAUTO_SKIP_VISUALIZATION instead of PYAUTOFIT_TEST_MODE. See full details below.

Test Plan

  • All 822 PyAutoGalaxy tests pass
  • CLAUDE.md documentation updated
Full API Changes (for automation & release notes)

Changed Behaviour

  • PYAUTO_WORKSPACE_SMALL_DATASETS renamed to PYAUTO_SMALL_DATASETS (model_util.py)
  • VisualizerQuantity.visualize() now checks skip_visualization() instead of is_test_mode()

Migration

  • Before: PYAUTO_WORKSPACE_SMALL_DATASETS=1 → After: PYAUTO_SMALL_DATASETS=1

🤖 Generated with Claude Code

Split the catch-all PYAUTOFIT_TEST_MODE into purpose-specific variables:
- PYAUTO_TEST_MODE (sampler speedup, levels 0-3)
- PYAUTO_SKIP_FIT_OUTPUT (pre/post-fit I/O, VRAM, result text)
- PYAUTO_SKIP_VISUALIZATION (fit visualization and plotting)
- PYAUTO_SKIP_CHECKS (mesh validation, position resampling, weight thresholds)

Also renames:
- PYAUTOARRAY_OUTPUT_MODE -> PYAUTO_OUTPUT_MODE
- PYAUTO_WORKSPACE_SMALL_DATASETS -> PYAUTO_SMALL_DATASETS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Jammy2211
Copy link
Copy Markdown
Collaborator Author

Workspace PR: PyAutoLabs/autogalaxy_workspace#25

@Jammy2211 Jammy2211 merged commit cdc1e93 into main Apr 12, 2026
0 of 2 checks passed
@Jammy2211 Jammy2211 deleted the feature/test-mode-separate branch April 12, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant